package com.jy.api.vo.admin.commission;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by lihu on 2017/8/25.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommissionTotalVo {

    private String id;

    private String employeeCode;

    private String employeeName;

    private String groupName;

    private int orderCount = 0;

    private double totalAmount = 0;

    private double totalCommission = 0;

    private int target;

    private String username;

    private int addMemberNumber = 0;

    private int qty=0;


    public CommissionTotalVo(String id, String employeeCode, String employeeName, String groupName,
                             int orderCount, double totalAmount, double totalCommission, int target,String username,int qty) {
        this.id = id;
        this.employeeCode = employeeCode;
        this.employeeName = employeeName;
        this.groupName = groupName;
        this.orderCount = orderCount;
        this.totalAmount = totalAmount;
        this.totalCommission = totalCommission;
        this.target = target;
        this.username=username;
        this.qty=qty;
    }

    public CommissionTotalVo(String id, String employeeCode, String employeeName, String groupName, int target) {
        this.id = id;
        this.employeeCode = employeeCode;
        this.employeeName = employeeName;
        this.groupName = groupName;
        this.target = target;
    }
}
